package com.mingqijia.gassafety.db.mapper;

import com.mingqijia.gassafety.db.entity.WarnStrategyExt;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 报警策略额外表 Mapper 接口
 * </p>
 *
 * @author zhangfei
 * @since 2022-02-25
 */
@Repository
@Mapper
public interface WarnStrategyExtMapper extends BaseMapper<WarnStrategyExt> {

    void insertBatch(@Param("exts") List<WarnStrategyExt> exts);

    void updateByStrategyid(@Param("id")Long id);
}
